<%--
    Document   : index
    Created on : Feb 27, 2011, 10:31:30 AM
    Author     : RaheelArif
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="CSS/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

</script>
</head>
<body>

<div id="header">
    <ul>
        <li style="display:inline;"><a style="text-align:right;text-decoration:none;color:white;position: relative;left:800px;" href="login.html">LOGIN</a></li>
    </ul>
</div>
<div id="head">
	<div id="menu">
		<ul>
			<li><a href="index.jsp">HOME</a></li>
			<li><a href="login.jsp" >LOGIN</a></li>
			<li><a href="#">CONTACT US</a></li>

		</ul>
	</div>
</div>


<div id ="mainbody">
<div id="main">
<h2 class="hh">Login</h2> <br/> <br/>

    <%
    String U;

    U = (String)session.getAttribute("Error");
    System.out.println(U);
    if(U==null)
        {
        U = "";
        }
%>
<div style="color:red;">
<%=U %>
</div>
<br/>
<form action ="mycontroller?action=login" method="POST">
<table cellpadding="5">
<tr>
    <td>
        Credit Card Number:
    </td>
    <td>
        <input type="password" name="cardnumber"/>
    </td>
</tr>
<tr>
    <td>
        PIN:
    </td>
    <td>
        <input type="password" name="pin" />
    </td>
</tr>
    <tr style="text-align:right;">
    <td>

    </td>
    <td>
       <input type="submit" name="Login" value="Submit"  style="background-color:black;color:#ffffff; border:none;cursor:pointer;cursor:hand;" />

    </td>
</tr>
</table>


</form>

</div>
<div id="sidebar">
<div ><h3 class="hh" style="display:block">Featured:&nbsp;&nbsp;Coming Soon!</h3>
    <marquee WIDTH="100%" HEIGHT="50%" BEHAVIOR="SCROLL" DIRECTION="DOWN" scrollamount="3"> <br/><img alt="movie image"  src="rango.jpg" width="120" height="150px" />
<br/>
    <a href="#">View Details</a><br/>
    <img alt="movie image"  src="inception.png" width="120" height="150px" /><br/>
    <a href="#">View Details</a><br/>
   </marquee>
    <br/><br/><br/><br/>
</div>
</div>
<div style="clear:left;" />
</div>
<!--
<div id="footer">
<img src="CSS/Images/foot.jpg" />
</div>
-->
</body>

</html>
